package com.qingke.pojo;

import java.util.List;

public class User {
    private Integer id;

    private String username;

    private String password;

    private String email;

    private String phone;
    
    private List<ProjectLeaderAssociation> projectLeaderAssociations;
    
    

    public User(String username, String password, String email, String phone) {
		super();
		this.username = username;
		this.password = password;
		this.email = email;
		this.phone = phone;
	}

	public User(Integer id, String username, String password, String email, String phone) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
		this.email = email;
		this.phone = phone;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

	public List<ProjectLeaderAssociation> getProjectLeaderAssociations() {
		return projectLeaderAssociations;
	}

	public void setProjectLeaderAssociations(List<ProjectLeaderAssociation> projectLeaderAssociations) {
		this.projectLeaderAssociations = projectLeaderAssociations;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", password=" + password + ", email=" + email + ", phone="
				+ phone + "]";
	}
    
    
}